The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Test-Mock-Simple "Test::Simple""

Test::Mock::Simple - A simple way to mock out parts of or a whole module. River stage one • 4 direct dependents • 5 total dependents

This is a simple way of overriding any number of methods for a given object/class. Can be used directly in test (or any) files, but best practice (IMHO) is to create a 'Mock' module and using it instead of directly using the module in any tests. The ...

TANK/Test-Mock-Simple-0.10 - 26 Jan 2020 18:32:22 UTC
1 result (0.101 seconds)